import request from '@/lib'

// 上传文件
const upload = (data:any) => {
  return request({
    url: '/upload/file',
    method: 'post',
    data
  })
}

export  {upload}